/**
 * com.dingjian.permission.model.Permission.java
 */
package com.dingjian.permission.model;

import com.dingjian.basedata.DataEntity;

/**
 * @author FengMy
 * 
 * @since 2012-9-3
 */
public class PermissionItem extends DataEntity {
	private static final long serialVersionUID = -3065431772660180837L;
	
	/**
	 * 权限所属分组
	 */
	private PermissionGroup group;
	
	/**
	 * 权限对应方法:如com.dingjian.permission.controller.PermissionListController.add
	 */
	private String method;

	public PermissionGroup getGroup() {
		return group;
	}

	public void setGroup(PermissionGroup group) {
		this.group = group;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getMethod() {
		return method;
	}

}
